CLASSES = \
	ExpProvider.class \
	DisableSecurityManagerAction.class \
	Exploit.class

.SUFFIXES: .java .class
.java.class:
	javac -source 1.2 -target 1.2 -cp "../../../../data/java:." $*.java

all: $(CLASSES:.java=.class)

install:
	mv ExpProvider.class ../../../../data/exploits/cve-2013-2460/
	mv DisableSecurityManagerAction.class ../../../../data/exploits/cve-2013-2460/
	mv Exploit.class ../../../../data/exploits/cve-2013-2460/

clean:
	rm -rf *.class

